﻿using System.Collections;
using E4D.AppFabric.Entities;
using System;
using System.Diagnostics;

namespace IntegrationTests
{
    class Logger:ILogger
    {
        private static ArrayList List = new ArrayList();
        private object _SelectedItem = null;

        public System.Collections.IList Items
        {
            get { return List; }
        }

        public object SelectedItem
        {
            get
            {
                return _SelectedItem;
            }
            set
            {
                _SelectedItem = value;
            }
        }

        public void Add(object item)
        {
            List.Add(item);
            Debug.WriteLine(item);
        }
    }
}
